﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.WindowsAPICodePack.Shell;

namespace WinBg
{
    public partial class FeedbackForm : Form
    {
        public FeedbackForm()
        {
            InitializeComponent();          
        }
        HttpRequest Http_Request = new HttpRequest(Main.WebSite_Name);
         private void lbl_Submit_Click(object sender, EventArgs e)
        {
            if (richTextBox.Text != "")
            {
                try
                {
                    string PostData = string.Format("Feedback={0}", richTextBox.Text);
                    Http_Request.Feedback(PostData);
                }
                catch (Exception EX)
                {
                    ErrorReport.AddError(this.ToString(), "lbl_Vote_Click", EX.Message);
                }
                this.Close();
            }
        }
    }
}
